package com.test.web.service;

import com.test.web.dao.BackuserrolerefDao;
import com.test.web.entity.Backuserroleref;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author heyanjing
 * date:2020-07-03 2020/7/3:9:57
 */
@Service
public class BackuserrolerefService {

    @Resource
    private BackuserrolerefDao backuserrolerefDao;


    public int deleteByPrimaryKey(String backUserRoleRefId) {
        return backuserrolerefDao.deleteByPrimaryKey(backUserRoleRefId);
    }


    public int insert(Backuserroleref record) {
        return backuserrolerefDao.insert(record);
    }


    public int insertOrUpdate(Backuserroleref record) {
        return backuserrolerefDao.insertOrUpdate(record);
    }


    public int insertOrUpdateSelective(Backuserroleref record) {
        return backuserrolerefDao.insertOrUpdateSelective(record);
    }


    public int insertSelective(Backuserroleref record) {
        return backuserrolerefDao.insertSelective(record);
    }


    public Backuserroleref selectByPrimaryKey(String backUserRoleRefId) {
        return backuserrolerefDao.selectByPrimaryKey(backUserRoleRefId);
    }


    public int updateByPrimaryKeySelective(Backuserroleref record) {
        return backuserrolerefDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(Backuserroleref record) {
        return backuserrolerefDao.updateByPrimaryKey(record);
    }


    public int updateBatch(List<Backuserroleref> list) {
        return backuserrolerefDao.updateBatch(list);
    }


    public int batchInsert(List<Backuserroleref> list) {
        return backuserrolerefDao.batchInsert(list);
    }

}
